package com.mingqijia.gassafety.webserver.service;

import com.mingqijia.gassafety.db.entity.DtuValveRecord;
import com.baomidou.mybatisplus.extension.service.IService;
import com.mingqijia.gassafety.shared.utils.commonUtils.PageUtil;
import com.mingqijia.gassafety.webserver.request.SolenoidRecordRequest;
import com.mingqijia.gassafety.webserver.response.DtuValveRecordResponse;

import java.util.List;

/**
 * <p>
 * 设备、电磁阀操作记录表 服务类
 * </p>
 *
 * @author fei.zhang
 * @since 2023-08-23
 */
public interface DtuValveRecordService extends IService<DtuValveRecord> {

    PageUtil<DtuValveRecordResponse> selectByImei(SolenoidRecordRequest request, String spId);

    Boolean hasValve(String imei, String spId);
}
